<!DOCTYPE html>
<html lang="en">
<head>
    <title>Cardboard Example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>
<body>
    <video src="textures/960p.mp4" autoplay="autoplay" id="test" controls
           webkit-playsinline=true
            playsinline=true
    preload='auto',
    x-webkit-airplay='allow',
    x5-video-player-type= 'h5',
    x5-video-player-fullscreen= true,
    x5-video-orientation='portrait'
           allowsInlineMediaPlayback=true
           loop="loop"
    ></video>
<script>

    window.addEventListener("touchstart",function (e) {
        document.getElementById("test").play();
    },false);
    window.onload=function () {
        init();
    }
    //var vr=new VR(scene,renderer,container);
    function init() {


    }


</script>
</body>
</html>
